package org.miyuki4j.cfgtool.app;

import lombok.extern.slf4j.Slf4j;
import org.miyuki4j.cfgtool.CfgApp;
import org.miyuki4j.cfgtool.RunModeEnum;
import org.miyuki4j.cfgtool.app.gui.MainGui;

/**
 * @Desc
 * @Author miyuki4j
 * @Date 2025/7/28/星期一 17:29
 * @Version 1.0
 */
@Slf4j
public class GuiCfgApp extends CfgApp {
    @Override
    public RunModeEnum runMode() {
        return RunModeEnum.GUI;
    }

    @Override
    public void run() {
        log.info("✅ {} running", getClass().getName());
        MainGui.main(args);
    }

    @Override
    public void exit() {
        super.exit();
    }
}
